package com.yb.xczx.cloud.passport.feign.client;


import com.yb.xczx.cloud.passport.config.FeignNoAuthConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "xczx-cloud-auth-console",contextId = "auth-noauth",configuration = FeignNoAuthConfig.class)

public interface AuthNoAuthClient {
    @GetMapping("/oauth2/authorize")
    String authorize(@RequestParam("response_type") String responseType, @RequestParam("client_id")String clientId, @RequestParam("scope") String scope, @RequestParam("redirect_uri") String redirectUri,@RequestParam("state") String client_state);

}